<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>添加新机构</title>
    <%--引入bootstrap样式--%>
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <script src="js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
    <link href="css/branch.css" rel="stylesheet">
</head>
<body>
    <div class="container">
        <div class="row">
            <div class="col-sm-10">
                <div class="heading"><strong>添加新机构</strong></div>
            </div>
        </div>
        <form method="post" action="/branchServlet">
            <div class="form-group row">
                <label class="col-sm-2 col-form-label">机构名称</label>
                <div class="col-sm-8">
                    <input type="text" class="form-control" name="branchName" value="${branch.branchName}">
                </div>
            </div>
            <div class="form-group row">
                <label class="col-sm-2 col-form-label">备注</label>
                <div class="col-sm-8">
                    <textarea class="form-control" aria-label="With textarea" name="remark">${branch.remark}</textarea>
                </div>
            </div>
            <input type="hidden" name="branchId" value="${branch.branchId}">
            <div class="form-group row">
                <div class="col-sm-10 center">
                    <button type="submit" class="btn btn-primary">提交</button>
                    <input type="reset" class="btn btn-primary"  value="重置">
                </div>
            </div>
        </form>
    </div>
</body>
</html>
